package com.dm.saleassback.categorymanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value ="categoryMapper")
public interface CategoryMapper {
    List<Map<String, Object>> queryAllCategoryMapper(Map<String, Object> param);

    Map<String,String> queryCategoryCountMapper(Map<String, Object> param);

    int saveCategoryMapper(Map<String, Object> param);

    int deleteCategoryById(Map<String, Object> param);

    int updateCategoryById(Map<String, Object> param);

    List<Map<String,Object>> queryAllCategory(Map<String, Object> param);

    List<Map<String,Object>> queryJieDao(Map<String, Object> queryParam);
}
